<div id="deviceListDiv" class="query-list-content">
	<div class="row-fluid">
		<div id="selectMsg" class="device-list-select-msg pull-left">选中1条</div>
		<div id="deviceOperate" class="pull-left">
			<a href="javascript:void(0);" class="mOperation" haseditperm="1" id="deviceCmdLocation"><i class="icon-map-marker"></i> 设备定位</a>
			<a href="javascript:void(0);" class="mOperation" haseditperm="1" id="deviceCmdRrfresh"><i class="icon-remove"></i>  设备刷新</a>
			<a href="javascript:void(0);" class="mOperation" haseditperm="1" id="deviceCmdSendMsg"><i class="icon-remove"></i> 发送消息</a>
		</div>
		<div id="knoxOperate" class="pull-left dropdown">
				<a href="javascript:void(0)" class="dropdown-toggle mOperation" data-toggle="dropdown">
          <span>knoxOperate</span>
          <b class="caret"></b>
        </a>
        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
          <li role="presentation"><a role="menuitem" id="editAdminPsd" href="javascript:void(0)">修改密码</a></li>
          <li role="presentation"><a role="menuitem" id="editAdminInfo" href="javascript:void(0)">修改资料</a></li>
          <li role="presentation"><a role="menuitem" id="showAdminInfo" href="javascript:void(0)">详细信息</a></li>
          <li role="presentation"><a role="menuitem" href="/admin/logout.do">退出</a></li>
        </ul>
		</div>
		<div id="searchOperate" class="pull-right">
			<div class="input-append ">
				<input type="text" id="params" name="params" placeholder="姓名/账号/邮件/电话/序列号/IMEI/设备名称" style="width: 270px;" refreshparam="1">
				<a href="javascript:void(0);" id="deviceSearchBtn" class="btn">搜索</a>
			</div>
		</div>
	</div>
	<!-- 过虑条件容器 -->
	<div class="query-list-filter">
		<select id="deviceFilterRelationship">
		  <option value="">归属</option>
			<option value="1">企业</option>
			<option value="2">员工</option>
			<option value="3">其他</option>
		</select>
		<select id="deviceFilterPlatform">
			<option>全部平台</option>
			<option>iOS</option>
			<option>Android</option>
		</select>
		<select>
		  <option value="">Root/越狱</option>
			<option value="1">是</option>
			<option value="0">否</option>
		</select>
	</div>
	<!-- 查询列表容器 -->
	<div class="query-list-table">
		<table class="table table-hover" id="deviceListTable">
			<thead>
				<tr class="title">
					<th style="width: 60px;"><input type="checkbox" id="checkAll"></th>
					<th>设备名称</th>
					<th>sdf</th>
				</tr>
			</thead>
			<tbody id="deviceListBody"></tbody>
		</table>
	</div>
	<script id="deviceListTmpl" type="text/Tmpl">
		{@each list as device, index}
			<tr id="@{device.id}">
				<td style="width: 60px;"><input type="checkbox" id="checkAll"></td>
				<td>@{device.deviceName}</td>
				<td>@{device.deviceName}</td>
			</tr>
		{@/each}
	</script>

	<script type="text/javascript">
		require(["device"], function(device){
			// 需要有初始化的逻辑，require不是重新加载已经加载过的js，但是可以再次调用初始化函数
			device.initList();
		});
	</script>
</div>